package com.tebiecloud.act.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 活动礼包
 * @author tebie
 * @date 2019-09-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ActGiftPack extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "act_gift_id", type = IdType.ID_WORKER)
    private Long actGiftId;

    /**
     * 活动id
     */
    private Long activityId;

    /**
     * 售价
     */
    private Integer price;

    /**
     * 门市价
     */
    private Integer retailPrice;

    /**
     * 成本价
     */
    private Integer costPrice;

    /**
     * 佣金比例（单位：/100=百分比）
     */
    private Integer commissionRate;

    /**
     * 库存数量：-99为不限库存
     */
    private Integer stockQty;

}
